package com.caht.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("caht.wx")
@Data
public class WeChatProperties {
    //小程序 appId
    private String appId;
    // 小程序 appSecret
    private String secret;
    //授权类型，此处只需填写 authorization_code
    private String grant_Type;
}
